module SunriseHelper
  def degrees_fraction(degrees_minutes)
    grader, minuter, minutdel = degrees_minutes.scan(/(\d{2}):(\d+)\.(\d+)/).flatten
    minuter = minuter.to_f + "0.#{minutdel}".to_f
    grader.to_f + minuter/60.0
  end
end
World(SunriseHelper)